package com.chen.back.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author chen
 * @date @{DATE} -22:01
 **/
public class DataUtil {

    public static Map<String,String> createItemStyle(Integer count)
    {
        String color="";
        if (count==0)
        {
            color="#96dee8";
        }
        if (count==1)
        {
            color="#c4ebad";
        }
        if (count==2)
        {
            color="#6be6c1";
        }
        if (count==3)
        {
            color="#3fb1e3";
        }
        if (count>3)
        {
            color="#a8a7e6";
        }

        Map<String, String> map = new HashMap<>();
        map.put("color",color);
        return map;
    }
}
